package com.ybdz.scanner.bean;

/**
 * @ClassName: QueryBean
 * @author: zhao
 * @Description:    查询请求返回的Bean
 * @date 2018/2/1 9:15
 */
public class QueryBean {


    /**
     * code : 00
     * data : {"producedDate":"2018-03-15","origin":"美国","specification":"箱","isQualified":"true","factoryNumber":"27","productName":"美国安格斯自然牛-后胸","storageConditions":"-18℃冷冻","actualWeight":"30.0","varieties":"阿里巴巴","inInventoryDate":"2018-03-22","grade":"无","position":"后胸","productBatch":"222","brand":"无"}
     */

    private String code;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * producedDate : 2018-03-15
         * origin : 美国
         * specification : 箱
         * isQualified : true
         * factoryNumber : 27
         * productName : 美国安格斯自然牛-后胸
         * storageConditions : -18℃冷冻
         * actualWeight : 30.0
         * varieties : 阿里巴巴
         * inInventoryDate : 2018-03-22
         * grade : 无
         * position : 后胸
         * productBatch : 222
         * brand : 无
         */

        private String producedDate;
        private String origin;
        private String specification;
        private String isQualified;
        private String factoryNumber;
        private String productName;
        private String storageConditions;
        private String actualWeight;
        private String varieties;
        private String inInventoryDate;
        private String grade;
        private String position;
        private String productBatch;
        private String brand;

        public String getProducedDate() {
            return producedDate;
        }

        public void setProducedDate(String producedDate) {
            this.producedDate = producedDate;
        }

        public String getOrigin() {
            return origin;
        }

        public void setOrigin(String origin) {
            this.origin = origin;
        }

        public String getSpecification() {
            return specification;
        }

        public void setSpecification(String specification) {
            this.specification = specification;
        }

        public String getIsQualified() {
            return isQualified;
        }

        public void setIsQualified(String isQualified) {
            this.isQualified = isQualified;
        }

        public String getFactoryNumber() {
            return factoryNumber;
        }

        public void setFactoryNumber(String factoryNumber) {
            this.factoryNumber = factoryNumber;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getStorageConditions() {
            return storageConditions;
        }

        public void setStorageConditions(String storageConditions) {
            this.storageConditions = storageConditions;
        }

        public String getActualWeight() {
            return actualWeight;
        }

        public void setActualWeight(String actualWeight) {
            this.actualWeight = actualWeight;
        }

        public String getVarieties() {
            return varieties;
        }

        public void setVarieties(String varieties) {
            this.varieties = varieties;
        }

        public String getInInventoryDate() {
            return inInventoryDate;
        }

        public void setInInventoryDate(String inInventoryDate) {
            this.inInventoryDate = inInventoryDate;
        }

        public String getGrade() {
            return grade;
        }

        public void setGrade(String grade) {
            this.grade = grade;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getProductBatch() {
            return productBatch;
        }

        public void setProductBatch(String productBatch) {
            this.productBatch = productBatch;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "producedDate='" + producedDate + '\'' +
                    ", origin='" + origin + '\'' +
                    ", specification='" + specification + '\'' +
                    ", isQualified='" + isQualified + '\'' +
                    ", factoryNumber='" + factoryNumber + '\'' +
                    ", productName='" + productName + '\'' +
                    ", storageConditions='" + storageConditions + '\'' +
                    ", actualWeight='" + actualWeight + '\'' +
                    ", varieties='" + varieties + '\'' +
                    ", inInventoryDate='" + inInventoryDate + '\'' +
                    ", grade='" + grade + '\'' +
                    ", position='" + position + '\'' +
                    ", productBatch='" + productBatch + '\'' +
                    ", brand='" + brand + '\'' +
                    '}';
        }
    }
}
